'use strict';

angular.module('sakuraApp')
    .controller('TradeShippingDetailController', function ($scope, $stateParams, TradeShipping, User, Trade, ShippingCompany) {
        $scope.tradeShipping = {};
        $scope.load = function (id) {
            TradeShipping.get({id: id}, function(result) {
              $scope.tradeShipping = result;
            });
        };
        $scope.load($stateParams.id);
    });
